home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Source Code
/
Visual Basic Source Code.iso
/
vbsource
/
appshell
/
appabout.frm
next >
Wrap
Text File
|
1995-09-06
|
5KB
|
162 lines
VERSION 2.00
Begin Form AppAbout
BorderStyle = 3 'Fixed Double
Caption = "About App Shell"
ClientHeight = 2505
ClientLeft = 1425
ClientTop = 1425
ClientWidth = 3735
FontBold = -1 'True
FontItalic = 0 'False
FontName = "System"
FontSize = 9.75
FontStrikethru = 0 'False
FontUnderline = 0 'False
Height = 2910
Icon = APPABOUT.FRX:0000
Left = 1365
LinkMode = 1 'Source
LinkTopic = "Form2"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 2505
ScaleWidth = 3735
Top = 1080
Width = 3855
Begin CommandButton Cmd_OK
Cancel = -1 'True
Caption = "OK"
Default = -1 'True
FontBold = -1 'True
FontItalic = 0 'False
FontName = "System"
FontSize = 9.75
FontStrikethru = 0 'False
FontUnderline = 0 'False
Height = 420
Left = 1425
TabIndex = 0
Top = 1905
Width = 930
End
Begin PictureBox Pic_HorizontalLine
BackColor = &H00000000&
Height = 45
Left = 330
ScaleHeight = 15
ScaleWidth = 2940
TabIndex = 4
Top = 975
Width = 2970
End
Begin PictureBox Pic_ApplicationIcon
AutoSize = -1 'True
BorderStyle = 0 'None
Height = 480
Left = 315
Picture = APPABOUT.FRX:0302
ScaleHeight = 480
ScaleWidth = 480
TabIndex = 3
Top = 285
Width = 480
End
Begin Label Lbl_InfoValues
FontBold = -1 'True
FontItalic = 0 'False
FontName = "System"
FontSize = 9.75
FontStrikethru = 0 'False
FontUnderline = 0 'False
Height = 630
Left = 1890
TabIndex = 6
Top = 1170
Width = 1455
End
Begin Label Lbl_Info
FontBold = -1 'True
FontItalic = 0 'False
FontName = "System"
FontSize = 9.75
FontStrikethru = 0 'False
FontUnderline = 0 'False
Height = 630
Left = 330
TabIndex = 5
Top = 1155
Width = 1470
End
Begin Label Label1
Caption = "Copyright 1991"
FontBold = -1 'True
FontItalic = 0 'False
FontName = "System"
FontSize = 9.75
FontStrikethru = 0 'False
FontUnderline = 0 'False
Height = 255
Left = 975
TabIndex = 7
Top = 600
Width = 1980
End
Begin Label Lbl_Version
Caption = "Version 1.00"
FontBold = -1 'True
FontItalic = 0 'False
FontName = "System"
FontSize = 9.75
FontStrikethru = 0 'False
FontUnderline = 0 'False
Height = 255
Left = 975
TabIndex = 1
Top = 375
Width = 1980
End
Begin Label Lbl_Company
Caption = "by Jim Presley"
FontBold = -1 'True
FontItalic = 0 'False
FontName = "System"
FontSize = 9.75
FontStrikethru = 0 'False
FontUnderline = 0 'False
Height = 270
Left = 975
TabIndex = 2
Top = 135
Width = 2340
End
End
DefInt A-Z
Sub cmd_OK_Click ()
Unload AppAbout
End Sub
Sub Form_Load ()
Dim WinFlags As Long
Dim Mode As String, Processor As String
Remove_Items_From_SysMenu AppAbout
Place_DialogBox_in_Form AppAbout, AppMain
' Get current Windows configuration
'
WinFlags = GetWinFlags()
' Display configuration values in Lbl_Info.Caption and Lbl_InfoValues.Caption
' (NOTE: CRLF variable causes a line break in a labels caption)
'
Lbl_Info.Caption = "Mode:" + CRLF + "Free Memory:"
If WinFlags And WF_ENHANCED Then Mode = "386 Enhanced" Else Mode = "Standard"
Lbl_InfoValues.Caption = Mode + CRLF + Format$(GetFreeSpace(0) \ 1024) + " KB"
End Sub